Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make browsers list configurable - revisited #3183

Closed
wants to merge 29 commits into from

Conversation

kasperpeulen
Copy link
Contributor

follow up on #2358

Autoprefixer's browsers option is currently hardcoded. This PR adds the browserslist key in package.json which allows developers to set different browsers for both production and development.
Autoprefixer which relies on Browserslist will find its config automatically.
This PR fixes #2248 and #892

cr101 and others added 26 commits May 25, 2017 15:58
…he browserslist key in package.json which allows developers to set browsers list in queries like "Chrome >= 35", "Firefox >= 38" for both production and development. Autoprefixer which relies on Browserslist will find its config automatically. This PR fixes facebook#2248 and facebook#892
# Conflicts:
#	packages/react-scripts/config/webpack.config.dev.js
#	packages/react-scripts/config/webpack.config.prod.js
@react-scripts-dangerous

Hello! I'm a bot that helps facilitate testing pull requests.

Your pull request (commit e6a7ff8) has been released on npm for testing purposes.

npm i react-scripts-dangerous@1.0.14-e6a7ff8.0
# or
yarn add react-scripts-dangerous@1.0.14-e6a7ff8.0
# or
create-react-app --scripts-version=react-scripts-dangerous@1.0.14-e6a7ff8.0 folder/

Note that the package has not been reviewed or vetted by the maintainers. Only install it at your own risk!

Thanks for your contribution!

@codering
Copy link

How about babel-preset-env option targets.browsers ?

@Gilthoniel
Copy link

Any news about this one ?

@rilyu
Copy link

rilyu commented Dec 22, 2017

Is this feature supported? I want to support iOS 8 and do not want to eject

@gaearon
Copy link
Contributor

gaearon commented Jan 9, 2018

We decided to merge a version of this into the next branch where we don't have the default fallback. So when we release react-scripts@2.0.0 you'll need to explicitly specify browserslist or you'll fall back to its own defaults.

@gaearon gaearon closed this Jan 9, 2018
@lock lock bot locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option for enabling Flexbox 2009
8 participants